package com.ruoyi.machine.common;

import lombok.Getter;

@Getter
public enum StatusCode {

    SUCCESS(200, "SUCCESS"),
    FAIL(400, "FAIL"),
    NOT_LOGIN(10001, "请先登录"),
    NOT_FOUND_ACCOUNT(10001, "账户或密码错误"),
    ERROR(400, "未知错误");

    private int code;
    private String msg;

    StatusCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
